<!--
 * @Author: Meow
 * @Date: 2019-09-26 09:45:12
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2019-10-10 19:47:57
 * @Description: 系统元数据注册
 -->
<template>
  <div id="Main">
    <h1>系统元数据注册</h1>
    <div>
      <el-form ref="form"
               :model="form"
               label-position="left"
               label-width="120px">
        <el-form-item label="系统名称：">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="父级系统：">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="建设部门：">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="汇交时间：">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="使用部门：">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="汇交方式：">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="系统承建商：">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="系统密级：">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="系统版本：">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="标签：">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="系统概述：">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="备注：">
          <el-input type="textarea"
                    placeholder="请输入内容"
                    v-model="textarea"></el-input>
        </el-form-item>
        <el-form-item>

          <el-button plain>取消</el-button>
          <el-button type="primary"
                     @click="onSubmit"
                     plain>上一步</el-button>
          <el-button type="primary"
                     @click="onSubmit"
                     plain>下一步</el-button>
        </el-form-item>
      </el-form>
    </div>

  </div>
</template>
<script>
export default {
  name: "MetadataRegister",
  props: {
    active: Number,
    default: 0
  },
  data () {
    return {
      form: {
        name: "",
        region: "",
        date1: "",
        date2: "",
        delivery: false,
        type: [],
        resource: "",
        desc: ""
      },
      defaultProps: {}
    };
  },
  methods: {}
};
</script>
<style lang="less" scoped>
.el-form {
  .flex();
  flex-wrap: wrap;
  .el-form-item {
    font-size: 14px;
    width: 50%;
    padding: 0 20px;
    box-sizing: border-box;
    align-items: center;
  }
}
.Main {
  text-align: center;
}
.el-form {
  width: 100%;
  .el-form-item {
    .jc-b();
    /deep/ label {
      min-width: 0px !important;
    }
    /deep/ input {
      flex: 1;
      // width: 100%;
    }
    /deep/ .el-form-item__content {
      margin-left: 0px !important;
    }
  }

  .el-form-item:last-child {
    width: 100%;
  }
}

@import url("../MetadataRegistration.less");
</style>
